package org.litespring.service.v3;

import org.litespring.dao.v3.AccountDAO;
import org.litespring.dao.v3.ItemDAO;

public class PetStoreService {
    private AccountDAO accountDAO;

    private ItemDAO itemDAO;

    private String name;

    private int age;

    public PetStoreService(AccountDAO accountDAO, ItemDAO itemDAO, String name, int age) {
        this.accountDAO = accountDAO;
        this.itemDAO = itemDAO;
        this.name = name;
        this.age = age;
    }

    public PetStoreService(AccountDAO accountDAO, ItemDAO itemDAO) {
        this.accountDAO = accountDAO;
        this.itemDAO = itemDAO;
    }

    public PetStoreService() {
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public AccountDAO getAccountDAO() {
        return accountDAO;
    }

    public void setAccountDAO(AccountDAO accountDAO) {
        this.accountDAO = accountDAO;
    }

    public ItemDAO getItemDAO() {
        return itemDAO;
    }

    public void setItemDAO(ItemDAO itemDAO) {
        this.itemDAO = itemDAO;
    }
}

